
package org.authsum.stitches.domain;

import java.io.Serializable;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Attribute complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Attribute">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="attributeValues" type="{http://domain.stitches.authsum.org}ArrayOfAttributeValue" minOccurs="0"/>
 *         &lt;element name="contentDef" type="{http://domain.stitches.authsum.org}ContentDef" minOccurs="0"/>
 *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="numberOfValues" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="publishToAmazonS3" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="valueType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Attribute", propOrder = {
    "attributeValues",
    "contentDef",
    "description",
    "id",
    "mimeType",
    "name",
    "numberOfValues",
    "publishToAmazonS3",
    "required",
    "valueType",
    "version"
})
public class Attribute
    implements Serializable
{

    @XmlElementRef(name = "attributeValues", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<ArrayOfAttributeValue> attributeValues;
    @XmlElementRef(name = "contentDef", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<ContentDef> contentDef;
    @XmlElementRef(name = "description", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<String> description;
    @XmlElementRef(name = "id", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<Long> id;
    @XmlElementRef(name = "mimeType", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<String> mimeType;
    @XmlElementRef(name = "name", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<String> name;
    protected Integer numberOfValues;
    protected Boolean publishToAmazonS3;
    protected Boolean required;
    @XmlElementRef(name = "valueType", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<String> valueType;
    @XmlElementRef(name = "version", namespace = "http://domain.stitches.authsum.org", type = JAXBElement.class)
    protected JAXBElement<Long> version;

    /**
     * Gets the value of the attributeValues property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfAttributeValue }{@code >}
     *     
     */
    public JAXBElement<ArrayOfAttributeValue> getAttributeValues() {
        return attributeValues;
    }

    /**
     * Sets the value of the attributeValues property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link ArrayOfAttributeValue }{@code >}
     *     
     */
    public void setAttributeValues(JAXBElement<ArrayOfAttributeValue> value) {
        this.attributeValues = ((JAXBElement<ArrayOfAttributeValue> ) value);
    }

    /**
     * Gets the value of the contentDef property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link ContentDef }{@code >}
     *     
     */
    public JAXBElement<ContentDef> getContentDef() {
        return contentDef;
    }

    /**
     * Sets the value of the contentDef property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link ContentDef }{@code >}
     *     
     */
    public void setContentDef(JAXBElement<ContentDef> value) {
        this.contentDef = ((JAXBElement<ContentDef> ) value);
    }

    /**
     * Gets the value of the description property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getDescription() {
        return description;
    }

    /**
     * Sets the value of the description property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setDescription(JAXBElement<String> value) {
        this.description = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setId(JAXBElement<Long> value) {
        this.id = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the mimeType property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getMimeType() {
        return mimeType;
    }

    /**
     * Sets the value of the mimeType property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setMimeType(JAXBElement<String> value) {
        this.mimeType = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the name property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getName() {
        return name;
    }

    /**
     * Sets the value of the name property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setName(JAXBElement<String> value) {
        this.name = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the numberOfValues property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getNumberOfValues() {
        return numberOfValues;
    }

    /**
     * Sets the value of the numberOfValues property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setNumberOfValues(Integer value) {
        this.numberOfValues = value;
    }

    /**
     * Gets the value of the publishToAmazonS3 property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isPublishToAmazonS3() {
        return publishToAmazonS3;
    }

    /**
     * Sets the value of the publishToAmazonS3 property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setPublishToAmazonS3(Boolean value) {
        this.publishToAmazonS3 = value;
    }

    /**
     * Gets the value of the required property.
     * 
     * @return
     *     possible object is
     *     {@link Boolean }
     *     
     */
    public Boolean isRequired() {
        return required;
    }

    /**
     * Sets the value of the required property.
     * 
     * @param value
     *     allowed object is
     *     {@link Boolean }
     *     
     */
    public void setRequired(Boolean value) {
        this.required = value;
    }

    /**
     * Gets the value of the valueType property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getValueType() {
        return valueType;
    }

    /**
     * Sets the value of the valueType property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setValueType(JAXBElement<String> value) {
        this.valueType = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the version property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getVersion() {
        return version;
    }

    /**
     * Sets the value of the version property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setVersion(JAXBElement<Long> value) {
        this.version = ((JAXBElement<Long> ) value);
    }

}
